﻿<ul class="simplelist mediaelementlist">
    <li class="row mediaelement" ng-repeat="o in mediaElement" ng-click="selectMediaElement(o)" ng-dblclick="playMediaElement(false, o)" ng-class="{'selected': o.selected, 'playing': o.playing}" data-bind="attr: { id: id, parentId: parentId, title }">
        <div class="itemactions">
            <a class="add" href="" title="Add To Play Queue" ng-click="addMediaElementToQueue(o)" stop-event="click"></a>
            <a class="remove" href="" title="Remove"></a>
            <a class="play" href="" title="Play" ng-click="playMediaElement(false, o)" stop-event="click"></a><a class="download" href="" title="Download"></a>
            <div class="clear"></div>
        </div>
        <div class="track floatleft" ng-bind-html-unsafe="o.track"></div>
        <div class="title floatleft" title="{{o.comment}}" ng-bind-html-unsafe="o.title"></div>
        <div class="time floatleft">{{o.time}}</div>
        <div class="clear"></div>
    </li>
</ul>